from enumobjects.base_enum import BaseEnum


class ErrorEnum(BaseEnum):
    SERVER_ERROR = -10
    FILE_ERROR = -20
    _frontend_dict = {
        SERVER_ERROR: "服务端异常",
        FILE_ERROR: "文件错误"
    }